package class_1_4;

public class Cat extends Animal{
    public Cat(String name, int age) {
        super(name, age);
    }

    public Cat() {
    }

    public void eat(String food){
        System.out.println("猫猫"+this.name+"在在吃"+food);
    }
    public Cat func(){
        return new Cat();
    }
    //cat独有的
    public void yell(){
        System.out.println("喵喵喵");
    }
}
